package cn.netbox.spring.pojo;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * description:
 * date: 2021/11/27 20:03
 * author: Alex
 * version: 1.0
 */
@Component("mySchool")
public class School {
    @Value("网盒教育")
    private String name;

    @Override
    public String toString() {
        return "School{" +
                "name='" + name + '\'' +
                '}';
    }
}
